@import "../../styles/base";

.fast-product-detail-header-container {
  position: relative;
  width: 100%;

  .header {
    position: relative;
    width: 100%;
    height: 427px;

    .bg-img {
      width: 100%;
      height: 100%;
    }

    .content-box {
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100%;

      .title-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 32px;
        margin-bottom: 34px;

        .text {
          font-size: 36px;
          line-height: 36px;
          color: $font-color-fast-product-title;
          margin-left: 20px;
          max-width: 75%;
        }

        .image {
          width: 80px;
          height: 80px;
          // border: 3px solid $bg-color-base;
        }
      }

      .edit-box {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;

        .item {
          display: flex;
          flex-direction: column;
          align-items: flex-start;

          .top {
            font-size: 24px;
            color: $font-color-fast-product-label;
          }

          .bottom {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            /* text-align: end; */
            font-size: 46px;
            line-height: 1.2;
            color: $font-color-fast-product-title;
            margin-top: 37px;
            
            .deposit-input {
              max-width: 30%;
              text-align: right;
            }

            .text {
              font-weight: 400;
            }

            .text:nth-child(2) {
              margin-left: 10px;
            }

            .selector {
              display: flex;
              align-items: center;

              .time-unit {
                margin-left: 10px;
                font-size: 24px;
                line-height: 1.2;
              }
            }

            .iconfont {
              font-weight: 500;
              margin-left: 32px;
            }
          }
        }

        .item:nth-child(2) {
          .bottom {
            .selector {
              .iconfont {
                margin-left: 16px;
              }
            }
          }
        }
      }

      .row-divider {
        width: 100%;
        height: 1px;
        display: flex;
        justify-content: center;
        margin-top: 12px;
        overflow: hidden;
        .image {
          width: 100%;
          height: 100%;
        }
      }

      .fee-box {
        display: flex;
        /* justify-content: space-evenly; */
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin-top: 17px;

        .item {
          display: flex;
          flex-direction: column;
          align-items: center;
          flex-grow: 100;

          .info {
            font-size: 24px;
            color: $font-color-fast-product-label;
            margin-bottom: 12px;
          }

          .number {
            font-size: 34px;
            color: $font-color-fast-product-title;
          }
        }

        .cloum-divider {
          width: 2px;
          height: 80px;
        }
      }

    }
  }

  .product-detail-box {
    width: 100%;
    background-color: $font-color-light;

    .top-box {
      display: inline-flex;
      justify-content: space-around;
      align-items: center;
      border-bottom: 1px dashed $border-color-lighter;
      width: 100%;
      height: 55px;
      padding-top: 24px;
      padding-bottom: 24px;

      .view {
        display: flex;
        align-items: center;
        line-height: 2;
        .text {
          font-size: 28px;
          color: $font-color-input-desc;
        }

        .iconfont {
          font-size: 42px;
          color: $font-color-fast-product-icon;
          margin-right: 16px;
        }
      }

      .view:nth-child(2) {
        .iconfont {
          font-size: 36px;
        }
      }
    }

    .middle-box {
      padding-left: 47px;
      padding-top: 33px;
      padding-right: 47px;
      color: $font-color-desc;
      overflow: hidden;
      transition: all 0.3s ease-out;

      .title {
        font-size: 32px;
        line-height: 2.2;
      }

      .content {
        font-size: 26px;
        line-height: 1.6;

        .text {
          display: block;
        }
      }
    }

    .bottom-box {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 87px;
      color: $font-color-fast-product-icon;

      .text {
        font-size: 24px;
        line-height: 1.2;
      }

      .iconfont {
        transition: all 0.3s ease-out;
        font-size: 48px;
      }
    }

    .close {
      height: 0;
      padding-top: 0;
    }

    .down {
      transform: rotate(180deg)
    }
  }

}
